My minimal git prompt. Official git prompt is too slow and I need only tiny subset of the features

    cargo build --relase

.bashrc

    __git_aware_prompt(){
        PS1="[ \W ]$(/path/to/binary/git-prompt-rs)\$ "
    }
    PROMPT_COMMAND=__git_aware_promptn

\[ some\_dir \] (develop)$

